.widget {
  display: inline-block;
  margin: 4px;
  position: relative;
  z-index: 1;
  border: 1px dashed #ddd;
}
.widget::after {
  position: absolute;
  display: block;
  width: 14px;
  height: 14px;
  font-size: 14px;
  line-height: 14px;
  text-align: center;
  right: -7px;
  top: -7px;
  content: 'x';
  color: #fff;
  background-color: rgb(179, 72, 72);
  border-radius: 50%;
  cursor: pointer;
}
.widget > * {
  z-index: -1;
}
.widget--selected {
  outline: 2px dashed var(--primary-color);
}
